<head>
  <title>{% block title %}{% endblock %}</title>
  <!----------bootstrat js and css-------------->
  <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.css" />
  <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.min.css" />
  <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap-responsive.css" />
  <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap-responsive.min.css" />

  <script type="text/javascript" src="/jquery/jquery.js"></script>
  <script type="text/javascript" src="/bootstrap/js/bootstrap.js"></script>
  <script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
  <!-------end bootstrat js and css-------------->

</head>
<!--========标题================-->
<h1>欢迎来到兰铁一小！</h1>
<hr />
<!--========end标题================-->


<!--========导航================-->
{% for navsort in navsorts %}
<h3>{{ navsort.title }}</h3>
<ul>
		{% for nav in navs %}
			{% if navsort.id == nav.navsort.id %}
			<li><a href="/{{nav.id}}/">{{ nav.title }}</a></li>
			{% endif %}
		{% endfor %}
</ul>
{% endfor %}
<hr />
<!--========end导航================-->



<!--========学校公告================-->
<h3>学校公告&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/13/">查看更多</a></h3>
<ul>
	{% for recentlyannounced in recentlyannounced %}
		<li><a href="/{{notice.id}}/{{recentlyannounced.id}}/">{{recentlyannounced.title}}</a></li>
	{% endfor %}
</ul>
<hr />
<!--========end学校公告================-->

<!--========博客================-->
<h3>博客列表</h3><hr />
<ul>
{% for blog in blog %}
<li><a href="/bloginfo/{{blog.id}}/">{{ blog.title }}</a></li>
{% endfor %}
</ul>
<hr />
<!--========end博客=============-->

<!--==========班级列表==============-->
<h3>班级列表</h3>
<ul>
{%for grade in grade%}
<li><a href="/grade/{{grade.id}}/">{{grade.banji|addslashes}}</a></li>
{% endfor %}
</ul>
<!--========end班级列表================-->









